package com.txl.cn.spark06

import org.apache.spark.sql.SparkSession

/**
  * Created by txl on 2018/1/3.
  */
object DataSource {
  def main(args: Array[String]): Unit = {
      val session = SparkSession.builder()
      .master("local[*]")
      .appName(this.getClass.getName)
      .getOrCreate()

    session.read.format("jdbc")
  }

}
